.class Les/wx$b;
.super Ljava/lang/Object;
.source "FeedbackRatingView.java"

# interfaces
.implements Landroid/widget/RatingBar$OnRatingBarChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/wx;->a(Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/wx;


# direct methods
.method constructor <init>(Les/wx;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/wx$b;->a:Les/wx;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onRatingChanged(Landroid/widget/RatingBar;FZ)V
    .locals 1

    if-nez p3, :cond_0

    return-void

    .line 1
    :cond_0
    iget-object p1, p0, Les/wx$b;->a:Les/wx;

    invoke-virtual {p1}, Les/wx;->a()V

    const/4 p1, 0x0

    const p3, 0x7f11043d

    cmpl-float p1, p2, p1

    if-nez p1, :cond_1

    .line 2
    iget-object p1, p0, Les/wx$b;->a:Les/wx;

    invoke-static {p1}, Les/wx;->b(Les/wx;)Landroid/widget/Button;

    move-result-object p1

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setEnabled(Z)V

    .line 3
    iget-object p1, p0, Les/wx$b;->a:Les/wx;

    invoke-static {p1}, Les/wx;->b(Les/wx;)Landroid/widget/Button;

    move-result-object p1

    iget-object p2, p0, Les/wx$b;->a:Les/wx;

    invoke-static {p2}, Les/wx;->c(Les/wx;)Landroid/content/Context;

    move-result-object p2

    invoke-virtual {p2, p3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_1
    const/high16 p1, 0x40800000    # 4.0f

    const/4 v0, 0x1

    cmpg-float p1, p2, p1

    if-gtz p1, :cond_2

    .line 4
    iget-object p1, p0, Les/wx$b;->a:Les/wx;

    invoke-static {p1}, Les/wx;->b(Les/wx;)Landroid/widget/Button;

    move-result-object p1

    iget-object p2, p0, Les/wx$b;->a:Les/wx;

    invoke-static {p2}, Les/wx;->c(Les/wx;)Landroid/content/Context;

    move-result-object p2

    const p3, 0x7f110022

    invoke-virtual {p2, p3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 5
    iget-object p1, p0, Les/wx$b;->a:Les/wx;

    invoke-static {p1}, Les/wx;->b(Les/wx;)Landroid/widget/Button;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/widget/Button;->setEnabled(Z)V

    goto :goto_0

    .line 6
    :cond_2
    iget-object p1, p0, Les/wx$b;->a:Les/wx;

    invoke-static {p1}, Les/wx;->b(Les/wx;)Landroid/widget/Button;

    move-result-object p1

    iget-object p2, p0, Les/wx$b;->a:Les/wx;

    invoke-static {p2}, Les/wx;->c(Les/wx;)Landroid/content/Context;

    move-result-object p2

    invoke-virtual {p2, p3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 7
    iget-object p1, p0, Les/wx$b;->a:Les/wx;

    invoke-static {p1}, Les/wx;->b(Les/wx;)Landroid/widget/Button;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/widget/Button;->setEnabled(Z)V

    :goto_0
    return-void
.end method
